package com.mai4j.maiadmin.controller.page.monitor;

import com.mai4j.maiadmin.support.security.aop.annotation.RequiresAuthentication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 微信公众号请关注: 开源螺丝钉
 * <br>
 * 码云请关注: <a href="https://gitee.com/xiyoufang">https://gitee.com/xiyoufang</a>
 * <br>
 * 哔哩哔哩请关注: <a href="https://space.bilibili.com/438927834">https://space.bilibili.com/438927834</a>
 *
 * @author xiyoufang
 */
@RequiresAuthentication
@Controller
@RequestMapping("/monitor/sql-history")
public class SqlHistoryController {

    @RequestMapping({"", "/"})
    public ModelAndView monitor() {
        return new ModelAndView("monitor/sql-history");
    }
}
